 <link rel="stylesheet" href="../Public/style/forum.css" />
 	 <div id="top">
		 <div class="head1 clear">
			 <div class="account sprite_icon" style="text-align:center; ">
                  <a href="index.php?g=Mobile&m=User&a=index" style=" color:#FFF; line-height:50px">
                 {if cookie('username')}
                  {php $user=M('User')->field('username')->where('id='.$jgsatuserid)->find()}
                  {php echo $user['username']} 
                 {else}登录
                 {/if}
                 </a>
			 </div>
			   {if $title}
			    <div class="title">{$title}</div> 
               {else}
                <div class="title">{$seo_title}</div> 
               {/if}<div class="search sprite_icon">
			     <span class="icon2 icon_com">
			 </div>
		 </div>
	 </div> 
<include file="Mobile:nav"/> 	 
	 <div class="choose forum_choose">
		 <ul class="choose_btn clear">
			 <li class="active"><a href="#">看帖</a></li>
			 <li><a href="index.php?g=Mobile&m=Zforum_theme&a=index_z">主题</a></li>
		 </ul>
	 </div>

	 <YP:flash flashid="43" key="kid" /> 

	 <div class="sort">
		 <ul class="sort_btn clear">
			 <li class="active"><a href="javascript:;">最新精华</a></li>
			 <li><a href="javascript:;">热门帖子</a></li>
			 <li><a href="javascript:;">最新回复</a></li>
		 </ul>
	 </div>
     <div class="tab_box2">
         <div class="tab2">
            <YP:list name="Zforum_theme" where="essence=1" id="r"   key="k" order="createtime desc" limit="7"> 
                 {php $plate=M('Zforum_plate')->where('id='.$r['plateid'])->find();}
             <div class="section Padding">
                 <div class="title clear">
                     <a href="index.php?g=Mobile&m=Zforum_reply&a=index&id={$r['id']}&plateid={$r['plateid']}"><h2><span class="color">【{$plate['name']}】</span>{$r['title']|str_cut=###,40}</h2></a>
                     <!--<span class="icon1 com"></span>-->
                     <span class="icon2 com"></span>
                 </div>
                 <div class="source">
                     <span class="name">{$r['username']}</span><i>|</i><em class="time">{$r['createtime']|remianday=###}</em>
                 </div>
                 <div class="I_icon clear">
                     <span class="icon3 com"></span><em>{$r['hits']}</em>
                     <span class="icon4 com"></span><em>{$r['like_num']}</em>
                     <span class="icon5 com"></span><em>{$r['keep_num']}</em>

                     <i class="time">{$r['createtime']|remianday=###}</i>
                 </div>
             </div>
           </YP:list>   
         </div>

         <div class="tab2" style="display:none;">
             

             

             

             

             <YP:list name="Zforum_theme" id="r" key="k" order="hits desc" limit="7">
                 {php $plate=M('Zforum_plate')->where('id='.$r['plateid'])->find();}
             <div class="section Padding">
                 <div class="title clear">
                     <a href="index.php?g=Mobile&m=Zforum_reply&a=index&id={$r['id']}&plateid={$r['plateid']}"><h2><span class="color">【{$plate['name']}】</span>{$r['title']|str_cut=###,40}</h2></a>
                     <!--<span class="icon1 com"></span>
                     <span class="icon2 com"></span>-->
                 </div>
                 <div class="source">
                     <span class="name">{$r['username']}</span><i>|</i><em class="time">{$r['createtime']|remianday=###}</em>
                 </div>
                 <div class="I_icon clear">
                     <span class="icon3 com"></span><em>{$r['hits']}</em>
                     <span class="icon4 com"></span><em>{$r['like_num']}</em>
                     <span class="icon5 com"></span><em>{$r['keep_num']}</em>

                     <i class="time">{$r['createtime']|remianday=###}</i>
                 </div>
             </div>
           </YP:list>   
         </div>

         <div class="tab2" style="display:none;">
             
              <YP:list name="Zforum_theme"  id="r"   key="k" order="updatetime desc" limit="7">
                 {php $plate=M('Zforum_plate')->where('id='.$r['plateid'])->find();}
             <div class="section Padding">
                 <div class="title clear">
                     <a href="index.php?g=Mobile&m=Zforum_reply&a=index&id={$r['id']}&plateid={$r['plateid']}"><h2><span class="color">【{$plate['name']}】</span>{$r['title']|str_cut=###,40}</h2></a>
                     <!--<span class="icon1 com"></span>
                     <span class="icon2 com"></span>-->
                 </div>
                 <div class="source">
                     <span class="name">{$r['username']}</span><i>|</i><em class="time">{$r['createtime']|remianday=###}</em>
                 </div>
                 <div class="I_icon clear">
                     <span class="icon3 com"></span><em>{$r['hits']}</em>
                     <span class="icon4 com"></span><em>{$r['like_num']}</em>
                     <span class="icon5 com"></span><em>{$r['keep_num']}</em>

                     <i class="time">{$r['createtime']|remianday=###}</i>
                 </div>
             </div>
           </YP:list>
         </div>
     </div>
	 

	 